package t;

/**
 * Created by Administrator on 2017/10/24 0024.
 * 类型推断
 */
public class E
{
    public static void main(String[] args)
    {
        Util.cos(42, Util.nil());
        String s = Util.<String>nil().head();
    }

    static class Util<E>
    {
        public static <Z> Util<Z> nil()
        {
            return null;
        }

        public static <Z> Util<Z> cos(Z head, Util<Z> tail)
        {
            return null;
        }

        E head()
        {
            return null;
        }
    }
}
